<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 小夏 < 449134904@qq.com>
// +----------------------------------------------------------------------
namespace app\admin\validate;

use think\Validate;
use think\Db;
//添加卡密 验证
class GetCodeBayValidate extends Validate
{
    protected $rule = [
        'money'       => 'require|number',
        'order_number' => 'require|length:30,40',

    ];

    protected $message = [
        'money'       => '价格必传',
        'order_number'        => '订单号是30-40个字符',
    ];

}